package com.ctg.itrdc.sysmgr.permission.core.dto;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Objects;

public class SystemPostDTO implements Serializable {
	private static final long serialVersionUID = 1598179584838497003L;

	
	private Long sysUserPostId;
	public Long getSysUserPostId() {
		return sysUserPostId;
	}
	public void setSysUserPostId(Long sysUserPostId) {
		this.sysUserPostId = sysUserPostId;
	}
	
	private Long rzOrgId; // 任职组织id
	private Long sysUserId; // 系统用户id

	public Long getRzOrgId() {
		return rzOrgId;
	}

	public void setRzOrgId(Long rzOrgId) {
		this.rzOrgId = rzOrgId;
	}

	public Long getSysUserId() {
		return sysUserId;
	}

	public void setSysUserId(Long sysUserId) {
		this.sysUserId = sysUserId;
	}

	private OrganizationDTO organization;

	public OrganizationDTO getOrganization() {
		return organization;
	}

	public void setOrganization(OrganizationDTO organization) {
		this.organization = organization;
	}

	/**
	 * 系统岗位标识，主键
	 */
	private Long sysPostId;

	/**
	 * 系统岗位名称
	 */
	private String sysPostName;

	/**
	 * 系统岗位创建系统用户
	 */
	private Long createStaff;

	/**
	 * 系统岗位编码
	 */
//	@NotBlank
	private String sysPostCode;

	/**
	 * 是否系统初始数据
	 */
	private Short initFlag;

	/**
	 * 修改时间
	 */
	private Timestamp updateDate;

	/**
	 * 系统岗位状态的修改时间
	 */
	private Timestamp statusDate;

	/**
	 * 租户标识。
	 */
	private Long tenantId;

	/**
	 * 公用管理区域标识,记录区域唯一标识
	 */
	private Long commonRegionId;

	/**
	 * 系统岗位对应的管理组织
	 */
	private Long orgId;

	/**
	 * 分片键1，固定值-1。
	 */
	private Long shard1;

	/**
	 * 修改人
	 */
	private Long updateStaff;

	/**
	 * 系统岗位描述
	 */
	private String sysPostDesc;

	/**
	 * 分片键2，固定值-1。
	 */
	private Long shard2;

	/**
	 * 系统岗位的归属系统
	 */
	private String sysCode;

	/**
	 * 系统岗位状态,LOVB
	 */
	private String statusCd;

	/**
	 * 系统岗位创建时间
	 */
	private Timestamp createDate;

	/**
	 * 系统岗位类型，LOVB
	 */
	private String sysPostType;

	public void setSysPostId(Long sysPostId) {
		this.sysPostId = sysPostId;
	}

	public Long getSysPostId() {
		return this.sysPostId;
	}

	public void setSysPostName(String sysPostName) {
		this.sysPostName = sysPostName;
	}

	public String getSysPostName() {
		return this.sysPostName;
	}

	public void setCreateStaff(Long createStaff) {
		this.createStaff = createStaff;
	}

	public Long getCreateStaff() {
		return this.createStaff;
	}

	public void setSysPostCode(String sysPostCode) {
		this.sysPostCode = sysPostCode;
	}

	public String getSysPostCode() {
		return this.sysPostCode;
	}

	public void setInitFlag(Short initFlag) {
		this.initFlag = initFlag;
	}

	public Short getInitFlag() {
		return this.initFlag;
	}

	public void setUpdateDate(Timestamp updateDate) {
		this.updateDate = updateDate;
	}

	public Timestamp getUpdateDate() {
		return this.updateDate;
	}

	public void setStatusDate(Timestamp statusDate) {
		this.statusDate = statusDate;
	}

	public Timestamp getStatusDate() {
		return this.statusDate;
	}

	public void setTenantId(Long tenantId) {
		this.tenantId = tenantId;
	}

	public Long getTenantId() {
		return this.tenantId;
	}

	public void setCommonRegionId(Long commonRegionId) {
		this.commonRegionId = commonRegionId;
	}

	public Long getCommonRegionId() {
		return this.commonRegionId;
	}

	public void setOrgId(Long orgId) {
		this.orgId = orgId;
	}

	public Long getOrgId() {
		return this.orgId;
	}

	public void setShard1(Long shard1) {
		this.shard1 = shard1;
	}

	public Long getShard1() {
		return this.shard1;
	}

	public void setUpdateStaff(Long updateStaff) {
		this.updateStaff = updateStaff;
	}

	public Long getUpdateStaff() {
		return this.updateStaff;
	}

	public void setSysPostDesc(String sysPostDesc) {
		this.sysPostDesc = sysPostDesc;
	}

	public String getSysPostDesc() {
		return this.sysPostDesc;
	}

	public void setShard2(Long shard2) {
		this.shard2 = shard2;
	}

	public Long getShard2() {
		return this.shard2;
	}

	public void setSysCode(String sysCode) {
		this.sysCode = sysCode;
	}

	public String getSysCode() {
		return this.sysCode;
	}

	public void setStatusCd(String statusCd) {
		this.statusCd = statusCd;
	}

	public String getStatusCd() {
		return this.statusCd;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setSysPostType(String sysPostType) {
		this.sysPostType = sysPostType;
	}

	public String getSysPostType() {
		return this.sysPostType;
	}

	public Long getId() {
		return sysPostId;
	}

	public void setId(Long id) {
		this.sysPostId = id;
	}

	public SystemPostDTO() {
		super();
	}

	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		if (!(object instanceof SystemPostDTO)) {
			return false;
		}
		SystemPostDTO rhs = (SystemPostDTO) object;
		return Objects.equals(this.sysPostId, rhs.sysPostId);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return Objects.hash(this.sysPostId);
	}
	
	
	

}
